package cn.iocoder.yudao.module.trade.verify.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import cn.iocoder.yudao.framework.validation.InEnumValue;
import cn.iocoder.yudao.module.api.trade.verify.enums.VerifyBizType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 核销记录分页 Request VO")
@Data
public class TradeVerifyRecordPageReqVO extends PageParam {

    @Schema(description = "用户编号", example = "17094")
    private Long userId;

    @Schema(description = "店铺编号", example = "11934")
    private Long shopId;

    @Schema(description = "业务类型", example = "1")
    @InEnumValue(VerifyBizType.class)
    private Integer bizType;

    @Schema(description = "业务编号", example = "28277")
    private String bizId;

    @Schema(description = "核销码")
    private String code;

    @Schema(description = "核销人员姓名")
    private String verifierName;

    @Schema(description = "核销人员电话")
    private String verifierMobile;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}